package task;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class TimeJob extends QuartzJobBean
{
    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException
    {
        while (true)
        {

            System.out.println("哈哈哈哈哈哈哈哈哈哈哈哈哈");
            break;

        }

    }
}
